package com.chushouya.manager.dto.admin.user;

import com.general.framework.core.schema.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel("用户查询")
@Data
public class AdminUserQuery extends PageRequest {

    @ApiModelProperty("用户类型")
    private Integer userType;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("用户名")
    private String userNameLike;

    @ApiModelProperty("用户昵称")
    private String nickName;

    @ApiModelProperty("手机号")
    private String phoneNumber;

    @ApiModelProperty("状态")
    private Integer status;

    // 使用
    @ApiModelProperty("角色授权用户时，查询已分配用户和未分配用户")
    private Long roleId;

    @ApiModelProperty("用户ID列表")
    private List<Long> userIdIdList;

    @ApiModelProperty("部门ID")
    private Long deptId;

    @ApiModelProperty("部门ID列表")
    private List<Long> deptIdList;

    @ApiModelProperty("not in 用户ID列表")
    private List<Long> notInUserIdIdList;

    @ApiModelProperty("用户ID不等于")
    private Long idNotEqual;

    private String keyword;

    private Long adminUserId;

}
